<template>
  <div>
    <div class="loading">
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
    </div>
  </div>
</template>
<script>
export default {};
</script>
<style scoped>
.loading {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  column-gap: 5px;
}

.loading div {
  width: 5px;
  height: 15px;
  background-color: #1890ff;
  animation: wq_scaleY 1.2s ease-in-out infinite;
}

.loading div:nth-child(2) {
  animation-delay: 0.1s;
}

.loading div:nth-child(3) {
  animation-delay: 0.2s;
}

.loading div:nth-child(4) {
  animation-delay: 0.3s;
}

.loading div:nth-child(5) {
  animation-delay: 0.4s;
}

@keyframes wq_scaleY {
  0%,
  40%,
  100% {
    transform: scaleY(1);
  }

  20% {
    transform: scaleY(2.5);
  }
}
</style>
